package com.shixun.regd.controller;

import com.shixun.regd.feign.HospitalFeign;
import com.shixun.regd.service.RegdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RegdController {
    @Autowired
    private RegdService regdService;
    @GetMapping("getHospitalList")
    public Object getHospitalList()
    {
        return regdService.getHospitalList();
    }
}
